package com.shangcheng.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shangcheng.model.domain.PmsProductAttribute;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PmsProductAttributeMapper extends BaseMapper<PmsProductAttribute> {
    
    @Select("select id from pms_product_attribute where product_attribute_category_id = #{id}")
    List<Long> getAttributeCategoryId(Integer productCategoryId);
}
